#coding=utf-8

#关键点，产生随机数

import random

player = (input("请选择：剪刀（0）石头（1）布（2）："))

if player != "":
	
	player = int(player)
	computer = random.randint(0,2)

	print("="*30)
	if (player==0 and computer==2) or (player==1 and computer==0) or (player==2 and computer==1):
		print("您赢了，您太厉害了，真棒！")
	elif player==computer:
		print("平局，不要走，再来一局")
	else:
		print("您输了，不要走，洗洗手再来，决战到天亮！")
	print("="*30)
else:
	print("您没有输入,程序已退出！")